package cn.yx.permission.service.impl;

import cn.yx.common.mybatis.service.AbstractMybatisPlusService;
import cn.yx.permission.cond.RoleUserCond;
import cn.yx.permission.dos.RoleUserDo;
import cn.yx.permission.dto.RoleUserDto;
import cn.yx.permission.mapper.RoleUserMapper;
import cn.yx.permission.mapping.RoleUserMapping;
import cn.yx.permission.service.RoleUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>RoleUserService角色用户服务接口实现类</p>
 *
 * @author Wgssmart
 */
@Service
@Slf4j
public class RoleUserServiceImpl
        extends AbstractMybatisPlusService<RoleUserDo,
        RoleUserDto,
        RoleUserCond,
        Long,
        RoleUserMapper>
        implements RoleUserService {

    private final RoleUserMapper roleUserMapper;

    public RoleUserServiceImpl(RoleUserMapper roleUserMapper) {
        super(roleUserMapper, RoleUserMapping.INSTANCE);
        this.roleUserMapper = roleUserMapper;
    }
}
